package flex.cc.uac.service.impl;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import org.springframework.stereotype.Service;
import java.util.Map;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;

import flex.cc.uac.dao.UacUserAreaDao;
import flex.cc.uac.entity.UacUserAreaEntity;
import flex.cc.uac.service.UacUserAreaService;

import javax.annotation.Resource;


@Service("uacUserAreaService")
public class UacUserAreaServiceImpl extends ServiceImpl<UacUserAreaDao, UacUserAreaEntity> implements UacUserAreaService {

    @Resource
    private UacUserAreaDao uacUserAreaDao;

    @Override
    public UacUserAreaEntity queryUserAreaByUserId(Long userId) {
        UacUserAreaEntity userArea = uacUserAreaDao.getUacUserAreaByUserId(userId);
        return userArea;
    }
}
